package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户试卷关联表 ms_user_paper
 * 
 * @author ruoyi
 * @date 2018-12-20
 */
public class MsUserPaper extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户编号 */
	private String userId;
	/** 试卷编号 */
	private Integer paperId;
	/** 类型 */
	private String type;

	/** 答题者姓名*/
	private String userName;

	private String score;

	private String comment;

	private String sex;

	/** 创建时间 */
	private Date createTime;

	/** 试卷简介 */
	private String sjIntroduction;

	private Integer classId;

	private String studentId;

	public void setUserId(String userId)
	{
		this.userId = userId;
	}

	public String getUserId()
	{
		return userId;
	}
	public void setPaperId(Integer paperId) 
	{
		this.paperId = paperId;
	}

	public Integer getPaperId() 
	{
		return paperId;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Override
	public Date getCreateTime() {
		return createTime;
	}

	@Override
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getSjIntroduction() {
		return sjIntroduction;
	}

	public void setSjIntroduction(String sjIntroduction) {
		this.sjIntroduction = sjIntroduction;
	}

	public Integer getClassId() {
		return classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("paperId", getPaperId())
            .append("type", getType())
            .toString();
    }
}
